home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 21
/
Cream of the Crop 21 (Terry Blount) (October 1996).iso
/
math
/
plotr80.zip
/
PLOTTER.DOC
< prev
next >
Wrap
Text File
|
1996-09-09
|
32KB
|
547 lines
PLOTTER INSTRUCTIONS
PLOTTER is an ASCII data plotting and evaluation program that can be
run on any PC/AT compatible computer with at least 640K bytes of RAM
and a standard CGA, EGA or VGA color monitor. Both Epson compatible
and HP LaserJet compatible printers are supported. Screen images of
EGA and VGA plots can be saved to disk in PCX format for importing
to word processors. If a MOUSE is detected in the system, it is
automatically supported.
If you want PLOTTER to load a data file at start-up time, you can
type PLOTTER FILENAME at the DOS prompt. The file will be read
as DATA FILE TYPE #1, and the program will start at the Options
Menu (see below). The DOS command line option makes it possible to
call PLOTTER from inside your own programs. For example, in BASIC
you would include the program line: SHELL "PLOTTER FILENAME".
In general, default input responses are indicated by an asterisk
(*). Inputs that require key strokes not followed by ENTER are
indicated by square brackets []. Inputs that require ENTER to
complete the entry are indicated by parentheses (). You can back
out of most prompts in the program by pressing the ESCAPE key.
The use of the MOUSE is intuitive throughout the program. Place
the MOUSE CURSOR on the item to be selected and click the LEFT
BUTTON. In general, the LEFT BUTTON is treated as an ENTER key
press, and the RIGHT BUTTON is treated as an ESCAPE key press.
You can use the MOUSE to answer single key prompts, such as [Y/*N]
or F2=LABEL, but most program inputs require use of the keyboard.
For the menus in PLOTTER, you can use the UP and DOWN ARROW keys
to scroll through the items and press ENTER for your selection.
Or you can press the highlighted "hot key." To use your MOUSE,
place the CURSOR on the desired item and click the LEFT BUTTON.
When you start PLOTTER you will see the Main Menu, consisting of
the following selections:
(R)ead Data File from Disk
Create or (E)dit Data Files
Change Plotter (S)etup
(I)nstructions for Plotter
Shell to D(O)S Environment
(Q)uit the Program
Press the (O) key to shell to DOS, and enter "exit" to return to
PLOTTER. Press (Q), ESCAPE, or the RIGHT MOUSE BUTTON to quit.
Pressing (I) will let you read through the instructions for PLOTTER
contained in the ASCII text file PLOTTER.DOC (which is the document
you are presently reading). Use the UP and DOWN ARROW or PAGE keys
to move through the document. Place the MOUSE CURSOR on the top or
bottom border lines and click the LEFT BUTTON to scroll up or down
one line, or place the MOUSE CURSOR on the ARROW ICONS and click the
LEFT BUTTON to move up or down one page. The (I)nstructions feature
requires PLOTTER.DOC to be in the default directory.
(R)ead Data File from Disk
You will be presented with a file selection menu that allows you to
navigate to all drives and directories. Use the UP/DN ARROW KEYS,
PAGE UP/DN, HOME/END or the MOUSE CURSOR to move the highlight bar
(selecting the ".." token moves you up one directory). You can select
a data file by pressing the ENTER key, or by DOUBLE-CLICKING the LEFT
MOUSE button, on the highlighted file. When you are done, the program
will take you to the Options Menu (see below). Press ESCAPE, or the
RIGHT MOUSE button, to enter a file name manually. You will see the
prompt "Enter the FILE NAME of your DATA SET." Press ESCAPE again to
cancel the (Read) option and return to the Main Menu.
Use this option to read your data file(s) into PLOTTER. The program
can plot up to a total of 60,000 data values (for example, 30000 X-Y
pairs in one data set). For DATA FILE TYPE #1, the number of columns
in your data file, and the length of the file, will be automatically
determined as the data is read. For DATA FILE TYPE #2, you can select
up to 9 separate data files (from the file menu only), each with
different numbers of points and different X axis values. This can
be handy for "batch" processing a group of individual files.
Create or (E)dit Data Files
Use this option to manually create or edit small data files. You
will be presented with the file selection menu (see above). If you
want to create a new data file, press ESCAPE and you will get the
prompt "Enter a FILE name for your DATA SET." Press ESCAPE, or the
RIGHT MOUSE BUTTON, again to cancel. If the file name you type in
does not exist, you will be asked if you want to create it. You are
then taken to the data editing screen.
Use the MOUSE CURSOR to position the editing cursor, scroll the data
screen (by clicking on the ARROW ICONS or the BORDER LINES) and select
options from the bottom status bar. The editing keys are as follows:
ARROW KEYS .......... MOVE CURSOR OR SCROLL DATA
PAGE UP/DN .......... PREVIOUS/NEXT SCREEN
HOME/END ............ START/END OF A LINE
CTRL-HOME/END ....... START/END OF THE FILE
INSERT .............. TOGGLE INSERT/TYPEOVER
ENTER ............... START A NEW LINE
TAB ................. INSERT OR TYPEOVER 5 SPACES
DEL/BACKSPACE ....... DELETE DATA AND LINES
CTRL-Y .............. CUT CURRENT LINE INTO BUFFER
SHIFT-INS ........... PASTE SINGLE LINE FROM BUFFER
CTRL-X .............. SORT DATA BY X AXIS VALUES
ESCAPE .............. SAVE FILE AND OPTIONALLY QUIT
Enter your data according to the format shown below in the des-
cription of the Change Plotter (S)etup option. The data on each line
must be separated by AT LEAST ONE SPACE. Note that PLOTTER cannot
use more than 10 columns of data, and that the maximum file length
is about 1200 lines. Make sure that your data is entered correctly.
For example, DO NOT include commas or non-numerical characters.
Press ESCAPE, or click the RIGHT MOUSE BUTTON, to the quit editor.
You will then have the chance to save any changes you have made.
Finally, the program takes you to the Options Menu (see below).
Change Plotter (S)etup
Use this option to change the default settings in PLOTTER. The new
settings will remain in effect while the current session of PLOTTER
is running. The first prompt is "Select DATA FILE TYPE to read:"
PLOTTER can read two different file formats, as shown below. The
program initially defaults to DATA FILE TYPE #1. Note that all data
files must have the data separated by AT LEAST ONE SPACE.
DATA FILE TYPE #1: Plot up to 10 columns of data from one file.
X1 Y11 Y12 .. Y1m Data columns have a common X axis and
X2 Y21 Y22 .. Y2m the same number of points. You can
: : : .. : redefine the X axis column. Max size
Xn Yn1 Yn2 .. Ynm for the data is 60,000 real values.
DATA FILE TYPE #2: Plot up to 9 separate X-Y data files.
X1 Y1
X2 Y2 Data sets can have different X axis values and numbers
: : of points. Max data size for ALL sets is 60,000 values.
Xn Yn
The next prompt is "Select [X]-Y or [S]EMI-LOG plot:" PLOTTER de-
faults to X-Y plots. Press [S] to plot the X axis values as BASE
10 LOGARITHMS. Semi-Log plots are useful for data whose X axis
values span a range from small decimals to large whole numbers.
Note that PLOTTER automatically reverts to the default X-Y plot
type when you select the Curve Fitting or Signal Processing Menus.
The third prompt is "Show